Skip to content

test: Add e2e tests for @anthropic-ai/vertex-sdk - #2452

Open
Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/dum-e/geneva-e9f19a0591
Open

test: Add e2e tests for @anthropic-ai/vertex-sdk#2452
Luca Forstner (lforst) wants to merge 6 commits into
mainfrom
lforst/dum-e/geneva-e9f19a0591

Conversation

@lforst

@lforst Luca Forstner (lforst) commented Sep 9, 2026

Copy link
Copy Markdown
Member

Closes braintrustdata/braintrust-sdk-javascript#2072

Our instrumentation already implicitly supported @anthropic-ai/vertex-sdk - this is just adding tests.

We are mocking cause it's a giga pain to set up vertex with an anthropic model.

"braintrust": patch
---

test: Add e2e tests for `@anthropic-ai/vertex-sdk`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove

@@ -0,0 +1,185 @@
import assert from "node:assert/strict";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd leave a comment that these are mocks because using live tests suck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bot] Anthropic Vertex SDK (@anthropic-ai/vertex-sdk) not covered by auto-instrumentation (3,195,807 weekly downloads)

2 participants